<!doctype html>
<html lang=en>
<head>
	<meta charset="utf-8">
	<!--[if IE]><![endif]-->
	<!--[if lt IE 9 ]> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <![endif]-->
	<title>{% block title %}{% endblock %}</title>
	<link href="{{ MEDIA_URL }}css/default.css" media=screen rel=stylesheet type="text/css">
	{% block head %}{% endblock %}
</head>
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]>    <body class="ie7"> <![endif]-->
<!--[if IE 8 ]>    <body class="ie8"> <![endif]-->
<!--[if IE 9 ]>    <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
	<div id=container>
			{% block main_content %}{% endblock %}
	</div>
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	{% block script %}{% endblock %}
{% if debug %}
<!-- <![CDATA[
{% for q in sql_queries %}
{{ q.time }}: {{ q.sql }}
{% endfor %}
]]> -->
{% endif %}
</body>
</html>
